package com.sree.tali.buscomp;

import com.sree.tali.dao.homepage.impl.IIndexDao;
import com.sree.tali.dao.homepage.impl.IndexDao;
import com.sree.tali.pojo.AdminHomepojo;
import com.sree.tali.pojo.HomeList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.hibernate.Session;

public class DisplayBusCompImpl
  implements DisplayBusComp
{
  IIndexDao indexDao = new IndexDao();
  
  public void DisplayHome(AdminHomepojo paramAdminHomepojo, Session paramSession) {}
  
  public HomeList DisplayHome(Session paramSession, HttpServletRequest paramHttpServletRequest)
  {
    try
    {
      List localList1 = this.indexDao.AtoZList(paramSession);
      List localList2 = this.indexDao.Load24List(paramSession);
      List localList3 = this.indexDao.Load70List(paramSession);
      paramHttpServletRequest.getSession().setAttribute("atoz", localList1);
      paramHttpServletRequest.getSession().setAttribute("hrs24", localList2);
      paramHttpServletRequest.getSession().setAttribute("mm70", localList3);
    }
    catch (Exception localException)
    {
      localException.printStackTrace();
    }
    finally
    {
      if (paramSession != null) {
        paramSession.close();
      }
    }
    return null;
  }
  
  public AdminHomepojo DisplayPage(Session paramSession, int paramInt)
  {
    AdminHomepojo localAdminHomepojo = this.indexDao.DisplayPage(paramSession, paramInt);
    return localAdminHomepojo;
  }
}


/* Location:           D:\sreenu\talivud-new-110514\talivud-new\dist\WEB-INF\classes\
 * Qualified Name:     com.sree.tali.buscomp.DisplayBusCompImpl
 * JD-Core Version:    0.7.0.1
 */